//
//  JSMSkinCell.m
//  TakeYouTourTogether
//
//  Created by dllo on 15/12/4.
//  Copyright © 2015年 king. All rights reserved.
//

#import "JSMSkinCell.h"

@implementation JSMSkinCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createView];
    }
    return self;
}
- (void)createView{
    self.skinImageView = [[BaseImageView alloc]init];
    [self.contentView addSubview:self.skinImageView];
}
- (void)layoutSubviews{
    [super layoutSubviews];
    [self.skinImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.contentView).with.insets(UIEdgeInsetsMake(10, 15, 10, 15));
    }];
    self.skinImageView.layer.borderWidth = 1;
}
@end
